package com.fcscs.cservice.ws.client.reservationservice;

import org.apache.log4j.Logger;
import org.springframework.ws.client.core.support.WebServiceGatewaySupport;

import com.fcscs.cservice.ws.schema.reservationservice.SendEFolioRequest;
import com.fcscs.cservice.ws.schema.reservationservice.SendEFolioResponse;

public class SendEFolioClient extends WebServiceGatewaySupport {

	private static final Logger LOG = Logger.getLogger(SendEFolioClient.class);

	public SendEFolioResponse sendEFolio(SendEFolioRequest req) {
		SendEFolioResponse resp = (SendEFolioResponse) getWebServiceTemplate().marshalSendAndReceive(req);
		LOG.info("----------resv " + resp.getSuccess());
		return resp;
	}
}
